package com.igeekhome.pojo;

import java.util.ArrayList;
import java.util.List;

public class MonAcceptanceMonitoringExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MonAcceptanceMonitoringExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdIsNull() {
            addCriterion("receiving_clerk_id is null");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdIsNotNull() {
            addCriterion("receiving_clerk_id is not null");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdEqualTo(Integer value) {
            addCriterion("receiving_clerk_id =", value, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdNotEqualTo(Integer value) {
            addCriterion("receiving_clerk_id <>", value, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdGreaterThan(Integer value) {
            addCriterion("receiving_clerk_id >", value, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("receiving_clerk_id >=", value, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdLessThan(Integer value) {
            addCriterion("receiving_clerk_id <", value, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdLessThanOrEqualTo(Integer value) {
            addCriterion("receiving_clerk_id <=", value, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdIn(List<Integer> values) {
            addCriterion("receiving_clerk_id in", values, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdNotIn(List<Integer> values) {
            addCriterion("receiving_clerk_id not in", values, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdBetween(Integer value1, Integer value2) {
            addCriterion("receiving_clerk_id between", value1, value2, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andReceivingClerkIdNotBetween(Integer value1, Integer value2) {
            addCriterion("receiving_clerk_id not between", value1, value2, "receivingClerkId");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptIsNull() {
            addCriterion("votes_receipt is null");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptIsNotNull() {
            addCriterion("votes_receipt is not null");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptEqualTo(Integer value) {
            addCriterion("votes_receipt =", value, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptNotEqualTo(Integer value) {
            addCriterion("votes_receipt <>", value, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptGreaterThan(Integer value) {
            addCriterion("votes_receipt >", value, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptGreaterThanOrEqualTo(Integer value) {
            addCriterion("votes_receipt >=", value, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptLessThan(Integer value) {
            addCriterion("votes_receipt <", value, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptLessThanOrEqualTo(Integer value) {
            addCriterion("votes_receipt <=", value, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptIn(List<Integer> values) {
            addCriterion("votes_receipt in", values, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptNotIn(List<Integer> values) {
            addCriterion("votes_receipt not in", values, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptBetween(Integer value1, Integer value2) {
            addCriterion("votes_receipt between", value1, value2, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesReceiptNotBetween(Integer value1, Integer value2) {
            addCriterion("votes_receipt not between", value1, value2, "votesReceipt");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingIsNull() {
            addCriterion("no_sending_receiving is null");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingIsNotNull() {
            addCriterion("no_sending_receiving is not null");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingEqualTo(String value) {
            addCriterion("no_sending_receiving =", value, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingNotEqualTo(String value) {
            addCriterion("no_sending_receiving <>", value, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingGreaterThan(String value) {
            addCriterion("no_sending_receiving >", value, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingGreaterThanOrEqualTo(String value) {
            addCriterion("no_sending_receiving >=", value, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingLessThan(String value) {
            addCriterion("no_sending_receiving <", value, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingLessThanOrEqualTo(String value) {
            addCriterion("no_sending_receiving <=", value, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingLike(String value) {
            addCriterion("no_sending_receiving like", value, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingNotLike(String value) {
            addCriterion("no_sending_receiving not like", value, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingIn(List<String> values) {
            addCriterion("no_sending_receiving in", values, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingNotIn(List<String> values) {
            addCriterion("no_sending_receiving not in", values, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingBetween(String value1, String value2) {
            addCriterion("no_sending_receiving between", value1, value2, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoSendingReceivingNotBetween(String value1, String value2) {
            addCriterion("no_sending_receiving not between", value1, value2, "noSendingReceiving");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptIsNull() {
            addCriterion("no_record_receipt is null");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptIsNotNull() {
            addCriterion("no_record_receipt is not null");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptEqualTo(String value) {
            addCriterion("no_record_receipt =", value, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptNotEqualTo(String value) {
            addCriterion("no_record_receipt <>", value, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptGreaterThan(String value) {
            addCriterion("no_record_receipt >", value, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptGreaterThanOrEqualTo(String value) {
            addCriterion("no_record_receipt >=", value, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptLessThan(String value) {
            addCriterion("no_record_receipt <", value, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptLessThanOrEqualTo(String value) {
            addCriterion("no_record_receipt <=", value, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptLike(String value) {
            addCriterion("no_record_receipt like", value, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptNotLike(String value) {
            addCriterion("no_record_receipt not like", value, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptIn(List<String> values) {
            addCriterion("no_record_receipt in", values, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptNotIn(List<String> values) {
            addCriterion("no_record_receipt not in", values, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptBetween(String value1, String value2) {
            addCriterion("no_record_receipt between", value1, value2, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andNoRecordReceiptNotBetween(String value1, String value2) {
            addCriterion("no_record_receipt not between", value1, value2, "noRecordReceipt");
            return (Criteria) this;
        }

        public Criteria andVotesRecordIsNull() {
            addCriterion("votes_record is null");
            return (Criteria) this;
        }

        public Criteria andVotesRecordIsNotNull() {
            addCriterion("votes_record is not null");
            return (Criteria) this;
        }

        public Criteria andVotesRecordEqualTo(Integer value) {
            addCriterion("votes_record =", value, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andVotesRecordNotEqualTo(Integer value) {
            addCriterion("votes_record <>", value, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andVotesRecordGreaterThan(Integer value) {
            addCriterion("votes_record >", value, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andVotesRecordGreaterThanOrEqualTo(Integer value) {
            addCriterion("votes_record >=", value, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andVotesRecordLessThan(Integer value) {
            addCriterion("votes_record <", value, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andVotesRecordLessThanOrEqualTo(Integer value) {
            addCriterion("votes_record <=", value, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andVotesRecordIn(List<Integer> values) {
            addCriterion("votes_record in", values, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andVotesRecordNotIn(List<Integer> values) {
            addCriterion("votes_record not in", values, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andVotesRecordBetween(Integer value1, Integer value2) {
            addCriterion("votes_record between", value1, value2, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andVotesRecordNotBetween(Integer value1, Integer value2) {
            addCriterion("votes_record not between", value1, value2, "votesRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordIsNull() {
            addCriterion("no_receipt_record is null");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordIsNotNull() {
            addCriterion("no_receipt_record is not null");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordEqualTo(String value) {
            addCriterion("no_receipt_record =", value, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordNotEqualTo(String value) {
            addCriterion("no_receipt_record <>", value, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordGreaterThan(String value) {
            addCriterion("no_receipt_record >", value, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordGreaterThanOrEqualTo(String value) {
            addCriterion("no_receipt_record >=", value, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordLessThan(String value) {
            addCriterion("no_receipt_record <", value, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordLessThanOrEqualTo(String value) {
            addCriterion("no_receipt_record <=", value, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordLike(String value) {
            addCriterion("no_receipt_record like", value, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordNotLike(String value) {
            addCriterion("no_receipt_record not like", value, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordIn(List<String> values) {
            addCriterion("no_receipt_record in", values, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordNotIn(List<String> values) {
            addCriterion("no_receipt_record not in", values, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordBetween(String value1, String value2) {
            addCriterion("no_receipt_record between", value1, value2, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoReceiptRecordNotBetween(String value1, String value2) {
            addCriterion("no_receipt_record not between", value1, value2, "noReceiptRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordIsNull() {
            addCriterion("no_delivery_record is null");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordIsNotNull() {
            addCriterion("no_delivery_record is not null");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordEqualTo(String value) {
            addCriterion("no_delivery_record =", value, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordNotEqualTo(String value) {
            addCriterion("no_delivery_record <>", value, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordGreaterThan(String value) {
            addCriterion("no_delivery_record >", value, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordGreaterThanOrEqualTo(String value) {
            addCriterion("no_delivery_record >=", value, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordLessThan(String value) {
            addCriterion("no_delivery_record <", value, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordLessThanOrEqualTo(String value) {
            addCriterion("no_delivery_record <=", value, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordLike(String value) {
            addCriterion("no_delivery_record like", value, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordNotLike(String value) {
            addCriterion("no_delivery_record not like", value, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordIn(List<String> values) {
            addCriterion("no_delivery_record in", values, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordNotIn(List<String> values) {
            addCriterion("no_delivery_record not in", values, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordBetween(String value1, String value2) {
            addCriterion("no_delivery_record between", value1, value2, "noDeliveryRecord");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryRecordNotBetween(String value1, String value2) {
            addCriterion("no_delivery_record not between", value1, value2, "noDeliveryRecord");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}